package com.zucc.service;

import com.zucc.controller.req.NewsAddReq;
import com.zucc.controller.req.NewsModifyReq;
import com.zucc.controller.req.NewsSearchReq;
import com.zucc.controller.resp.NewsResp;
import com.zucc.service.base.PageData;

/**
 * @author : charspan
 * @Description :
 * @create : 2021-12-11 4:45 下午
 */
public interface NewsService {
    void add(NewsAddReq req);

    void modify(NewsModifyReq req);

    void deleteOne(Long id);

    PageData<NewsResp> page(NewsSearchReq req);
}
